package com.imageflowpro.image_flow_pro.service;

import com.imageflowpro.image_flow_pro.dto.UserListDTO;
import com.imageflowpro.image_flow_pro.dto.WXLoginDTO;
import com.imageflowpro.image_flow_pro.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 统一用户表 服务类
 * </p>
 *
 * @author 张家浩
 * @since 2025-05-07
 */
public interface IUserService extends IService<User> {

    User wxLoginUser(WXLoginDTO wxLoginDTO);

    User wxLoginAdmin(WXLoginDTO wxLoginDTO);

    void verify(String code);

    User updatePersonalInformationByIdUser(User user);

    User updatePersonalInformationByIdAdmin(User user);

    UserListDTO adminGetUserList();

}
